Imports DataLayer
Imports EntityLayer

Public Class SolicitudCompraBL

    Public Shared Function ObtenerNuevoCodigo() As Integer
        Return SolicitudCompraDA.ObtenerNuevoCodigo
    End Function

    Public Shared Function Insertar(ByVal OBE As SolicitudCompraBE) As Boolean
        Return SolicitudCompraDA.Insertar(OBE)
    End Function

    Public Shared Function Actualizar(ByVal OBE As SolicitudCompraBE) As Boolean
        Return SolicitudCompraDA.Actualizar(OBE)
    End Function

    Public Shared Function Eliminar(ByVal intIdSolicitud As Integer) As Boolean
        Return SolicitudCompraDA.Eliminar(intIdSolicitud)
    End Function

    Public Shared Function ListarTodo() As DataSet
        Return SolicitudCompraDA.ListarTodo
    End Function

    Public Shared Function ListarxCodigo(ByVal intIdSolicitud As Integer) As DataSet
        Return SolicitudCompraDA.ListarxCodigo(intIdSolicitud)
    End Function

    
End Class
